<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>事件</title>
</head>
<body>
	<button onclick="click_event()">这是一个按钮</button>

	<script>
		function click_event(){
			alert('绑定成功！')
	}
	</script>

</body>
</html>